import createAxios from '/@/utils/axios'
export const controllerUrl = '/admin/placeOrder.index/'



export function subOrderApi(user_id: number, type: string) {
    return createAxios({
        url: controllerUrl + 'subOrder',
        method: 'get',
        params: {
            user_id: user_id,
            type: type
        },
    },{
        showSuccessMessage: true,
    })
}
